#ifndef QFNTLIBRARY_H
#define QFNTLIBRARY_H
#include <QLibrary>
#ifdef WIN32
#include <Windows.h>
#endif
class QFntLibrary : public QLibrary
{
public:
QFntLibrary (QString strFileName);
QFntLibrary (QObject* parent);
~QFntLibrary ();
public:
void setFileName(const QString &fileName);
QString fileName() const;
void *resolve(const char *symbol);
bool load();
bool unload();
bool isLoaded() const;
QString errorString() const;
#ifdef WIN32
private:
HMODULE m_hModalHandle;
#endif
};
#endif // QFNTLIBRARY_H
